CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

include_directories(${COMN_DIR}/include)

link_directories(${PROJECT_ROOT}/lib)

include_directories(${FFMPEG_INCLUDE_DIR})
link_directories(${FFMPEG_LIBRARY_DIR})

include_directories(${PROJECT_ROOT}/FfMediaInfo/include)

include_directories(${JSONCPP_DIR}/include)


aux_source_directory(. SOURCES)
add_executable(ffinfo ${SOURCES} ${UTIL_SOURCE})


target_link_libraries(ffinfo
	debug comnd optimized comn
	FfMediaInfo
	${JSONCPP_LIBRARIES}
	${FFMPEG_LIBRARIES}
	${LIB_PLATFORM}
	)

install(TARGETS ffinfo DESTINATION .)